﻿using IntelligentAgriculture.Domain.Entity;
using IntelligentAgriculture.Domain.Interface;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntelligentAgriculture.Domain.Impl
{
    public class DeliveryPromptModelRepository:IDeliveryPromptModelRepository
    {
        private readonly AgricultureDbContext _context;
        public DeliveryPromptModelRepository(AgricultureDbContext context)
        {
            _context = context;
        }
        /// <summary>
        /// 分娩提示列表
        /// </summary>
        /// <returns></returns>
        public async Task<IQueryable<Deliverypromptmodel>> GetDeliverypromptmodels()
        {
            return  _context.Deliverypromptmodels;
        }

    }
}
